﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012A5 RID: 4773
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingRestoreGameCsReq : IMessage<SwordTrainingRestoreGameCsReq>, IMessage, IEquatable<SwordTrainingRestoreGameCsReq>, IDeepCloneable<SwordTrainingRestoreGameCsReq>, IBufferMessage
	{
		// Token: 0x17003C6D RID: 15469
		// (get) Token: 0x0600D5F6 RID: 54774 RVA: 0x0023F177 File Offset: 0x0023D377
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingRestoreGameCsReq> Parser
		{
			get
			{
				return SwordTrainingRestoreGameCsReq._parser;
			}
		}

		// Token: 0x17003C6E RID: 15470
		// (get) Token: 0x0600D5F7 RID: 54775 RVA: 0x0023F17E File Offset: 0x0023D37E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingRestoreGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C6F RID: 15471
		// (get) Token: 0x0600D5F8 RID: 54776 RVA: 0x0023F190 File Offset: 0x0023D390
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingRestoreGameCsReq.Descriptor;
			}
		}

		// Token: 0x0600D5F9 RID: 54777 RVA: 0x0023F197 File Offset: 0x0023D397
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingRestoreGameCsReq()
		{
		}

		// Token: 0x0600D5FA RID: 54778 RVA: 0x0023F19F File Offset: 0x0023D39F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingRestoreGameCsReq(SwordTrainingRestoreGameCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D5FB RID: 54779 RVA: 0x0023F1B8 File Offset: 0x0023D3B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingRestoreGameCsReq Clone()
		{
			return new SwordTrainingRestoreGameCsReq(this);
		}

		// Token: 0x0600D5FC RID: 54780 RVA: 0x0023F1C0 File Offset: 0x0023D3C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingRestoreGameCsReq);
		}

		// Token: 0x0600D5FD RID: 54781 RVA: 0x0023F1CE File Offset: 0x0023D3CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingRestoreGameCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600D5FE RID: 54782 RVA: 0x0023F1EC File Offset: 0x0023D3EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D5FF RID: 54783 RVA: 0x0023F212 File Offset: 0x0023D412
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D600 RID: 54784 RVA: 0x0023F21A File Offset: 0x0023D41A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D601 RID: 54785 RVA: 0x0023F223 File Offset: 0x0023D423
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D602 RID: 54786 RVA: 0x0023F23C File Offset: 0x0023D43C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D603 RID: 54787 RVA: 0x0023F262 File Offset: 0x0023D462
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingRestoreGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D604 RID: 54788 RVA: 0x0023F27F File Offset: 0x0023D47F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D605 RID: 54789 RVA: 0x0023F288 File Offset: 0x0023D488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005579 RID: 21881
		private static readonly MessageParser<SwordTrainingRestoreGameCsReq> _parser = new MessageParser<SwordTrainingRestoreGameCsReq>(() => new SwordTrainingRestoreGameCsReq());

		// Token: 0x0400557A RID: 21882
		private UnknownFieldSet _unknownFields;
	}
}
